﻿using PeiYue.IServices.BASE;
using PeiYue.Model.Models.Store;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace PeiYue.IServices.Store
{
    public interface IPickProgressServices : IBaseServices<PickProgressDao>
    {
        /// <summary>
        /// 获取分拣进度
        /// </summary>
        /// <param name="isNow">true查预计发货>=当天<明天，false查预计发货>=明天</param>
        /// <returns></returns>
        Task<List<PickProgressDao>> GetPickPickProgresList(bool isNow);
        /// <summary>
        /// 获取销售金额
        /// </summary>
        /// <returns></returns>
        Task<int> GetSalesAmount(bool isNow);
        /// <summary>
        /// 获取供拣总包裹数
        /// </summary>
        /// <param name="isNow">true查预计发货>=当天<明天，false查预计发货>=明天</param>
        /// <returns></returns>
        Task<int> GetSupplierSortTotal(bool isNow);
        /// <summary>
        /// 获取订单金额
        /// </summary>
        /// <returns></returns>
        Task<decimal> GetOrderAmount(bool isNow);
    }
}
